08. Modifying a Feature

Modifying a Feature

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

Instruction: Todo items that are shown as completed should show --done at the end.

PS. There is a way to do it in your CSS file (using the :after pseudo-element), but that's not the solution we're looking for.

The question mark in JavaScript is called the ternary operator. Here's more information about the ternary operator.